package com.fand.manager.mapper;

import com.fand.manager.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author javaboy
 * @since 2021-06-02
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    int updatePwd(@Param("id") Long id, @Param("password") String password);

    String findUserNameByUserId(Long id);
}
